package com.ITArmy.beans.Shows;

import com.ITArmy.beans.*;

import java.util.List;

public class CommentMessage {
    //评论的内容,这是一个对象

    private Comment comment;

    //评论的用户

    private User user;

    //评论的博客

    private Blog blog;

    //回复的信息
    private List<ReplyMessage> replyMessage;


    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    //回答的问题
    private Question question;

    /**
     * 回复的数量
     */
    private int replyCount;

    public int getReplyCount() {
        return replyCount;
    }

    public void setReplyCount(int replyCount) {
        this.replyCount = replyCount;
    }

    public CommentMessage() {
    }

    public CommentMessage(Comment comment, User user, Blog blog, List<ReplyMessage> replyMessage, Question question) {
        this.comment = comment;
        this.user = user;
        this.blog = blog;
        this.replyMessage = replyMessage;
        this.question = question;
    }

    public Comment getComment() {
        return comment;
    }

    public void setComment(Comment comment) {
        this.comment = comment;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    public List<ReplyMessage> getReplyMessage() {
        return replyMessage;
    }

    public void setReplyMessage(List<ReplyMessage> replyMessage) {
        this.replyMessage = replyMessage;
    }
}
